docs: Remove mentions of gdk_cursor_new_from_pixbuf
authorMatthias Clasen <mclasen@redhat.com>
Thu, 30 Nov 2017 01:14:53 +0000 (20:14 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 30 Nov 2017 01:14:53 +0000 (20:14 -0500)
This function is going away.

gdk/gdkwindow.c
gdk/win32/gdkdisplay-win32.c
gdk/x11/gdkcursor-x11.c

index 31ff1e4ea01d237a4f6b3f5c5c108ecb1f355b14..ec1bb02102e0709bc52d8d093f69e6ba41d7dcdf 100644 (file)
@@ -4281,7 +4281,7 @@ gdk_window_get_cursor (GdkWindow *window)
  *
  * Note that @cursor must be for the same display as @window.
  *
- * Use gdk_cursor_new_for_display() or gdk_cursor_new_from_pixbuf() to
+ * Use gdk_cursor_new_for_display() or gdk_cursor_new_from_texture() to
  * create the cursor. To make the cursor invisible, use %GDK_BLANK_CURSOR.
  * Passing %NULL for the @cursor argument to gdk_window_set_cursor() means
  * that @window will use the cursor of its parent window. Most windows
@@ -4370,7 +4370,7 @@ gdk_window_get_device_cursor (GdkWindow *window,
  * @cursor: a #GdkCursor
  *
  * Sets a specific #GdkCursor for a given device when it gets inside @window.
- * Use gdk_cursor_new_for_display() or gdk_cursor_new_from_pixbuf() to create
+ * Use gdk_cursor_new_for_display() or gdk_cursor_new_from_texture() to create
  * the cursor. To make the cursor invisible, use %GDK_BLANK_CURSOR. Passing
  * %NULL for the @cursor argument to gdk_window_set_cursor() means that
  * @window will use the cursor of its parent window. Most windows should
index c7fbcb32ea15d8552a453b64723faed4c873d1ff..0753d5f4f8a52956b1aa5ae43138add81daf49c6 100644 (file)
@@ -253,7 +253,7 @@ _gdk_win32_display_init_monitors (GdkWin32Display *win32_display)
  * with gdk_cursor_new(), gdk_cursor_new_for_display() and
  * gdk_cursor_new_from_name() are updated to reflect the theme
  * change. Custom cursors constructed with
- * gdk_cursor_new_from_pixbuf() will have to be handled
+ * gdk_cursor_new_from_texture() will have to be handled
  * by the application (GTK+ applications can learn about
  * cursor theme changes by listening for change notification
  * for the corresponding #GtkSetting).
index 9033d1fc8b2e8d6eb1f95dc6c5feeca7d6e27d66..7faea3f2fa6a7dc25ccf5e4fd236d773123bcdcd 100644 (file)
@@ -326,7 +326,7 @@ _gdk_x11_display_get_maximal_cursor_size (GdkDisplay *display,
  * with gdk_cursor_new(), gdk_cursor_new_for_display() and
  * gdk_cursor_new_from_name() are updated to reflect the theme
  * change. Custom cursors constructed with
- * gdk_cursor_new_from_pixbuf() will have to be handled
+ * gdk_cursor_new_from_texture() will have to be handled
  * by the application (GTK+ applications can learn about
  * cursor theme changes by listening for change notification
  * for the corresponding #GtkSetting).